#!/bin/bash

source $DRAW_INI
source $DRAW_CFG

perl $MYSQL_DRAW/ReportParser/populateMetric.pl --sample_name $1 --insert

EXITSTATUS=$?

if [ $EXITSTATUS -gt 1 ]
then
 echo "populateMetric.pl failed! exitstatus $EXITSTATUS"
 exit 100
fi

exit $EXITSTATUS
